//============================================================================
// Copyright (C) 2003-2013 Brett R. Jones 
// All Rights Reserved
//
// You may redistribute and/or modify for non commercial and commercial uses 
// provided this copyright notice remains in place and is not modified
//
// This code is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// brettjones1900@gmail.com
// http://www.p2panarchy.com
//============================================================================
#ifndef PKT_CMD_REQ_H
#define PKT_CMD_REQ_H



#pragma pack(push) 
#pragma pack(1)
class PktCmdReq : public VxPktHdr
{
public:
	PktCmdReq()
	{
		m_u16PktType = PKT_TYPE_CMD_REQ;
		m_u16PktLen = sizeof( PktCmdExecuteReq );
		as8Arg1[ 0 ] = 0;
		vx_assert( 0 == (m_u16PktLen & 0x0f ) );
	}
	unsigned short u16Cmd; // type of action to take 0 = execute 1 = 0pen
	unsigned char u8Res[8]; // reserved to round to 16 bytes
	char as8Arg1[ MAX_ARG_LEN + 1 ];
	char as8Arg2[ MAX_ARG_LEN + 1 ];
};
#pragma pack(pop)


#endif //#ifndef PKT_EXECUTE_REQ_H


